import Vue from 'vue'
import Router from 'vue-router'
import index from '@/pages/blogContent'
import share from '../pages/blogShare'
import blogArticle from '../pages/blogArticle'
import blogClassified from "../pages/blogClassified"
import blogClassifiedList from "../pages/blogClassifiedList"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/share',
      name: 'share',
      component: share
    },
    {
      path: '/blogType/blogTypeList/:watchNum',
      name: 'blogArticle',
      component: blogArticle
    },
    {
      path: '/blogType',
      name: 'blogClassified',
      component: blogClassified
    },
    {
      path: '/blogType/blogTypeList',
      name: 'blogClassifiedList',
      component: blogClassifiedList
    }
  ]
})
